﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace YTSK.Model
{
    /// <summary>
	/// 供应商档案表
	/// </summary>
	[Serializable]
    public partial class Vendor
    {
        public Vendor()
        { }
        #region Model
        private int _id;
        private string _cvencode;
        private string _cvenname;
        private int _parentid;
        private string _taxno;
        private string _address;
        private string _phone;
        private string _mobile;
        private string _bank;
        private string _bankaccount;
        private string _cvenperson;
        private string _cvenpersonmobile;
        private string _cperson;
        private string _cpersonphone;
        private string _cmemo;
        private byte[] _ts;
        private string _cmaker;
        private DateTime? _ddate;
        private string _cmodify;
        private DateTime? _dmdate;
        private DateTime? _dstopdate;
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 供应商编码
        /// </summary>
        public string cVenCode
        {
            set { _cvencode = value; }
            get { return _cvencode; }
        }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string cVenName
        {
            set { _cvenname = value; }
            get { return _cvenname; }
        }
        /// <summary>
        /// 所属分类编码
        /// </summary>
        public int ParentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 税号
        /// </summary>
        public string TaxNo
        {
            set { _taxno = value; }
            get { return _taxno; }
        }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 电话
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 手机
        /// </summary>
        public string Mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 银行名称
        /// </summary>
        public string Bank
        {
            set { _bank = value; }
            get { return _bank; }
        }
        /// <summary>
        /// 银行帐号
        /// </summary>
        public string BankAccount
        {
            set { _bankaccount = value; }
            get { return _bankaccount; }
        }
        /// <summary>
        /// 供应商联系人
        /// </summary>
        public string cVenPerson
        {
            set { _cvenperson = value; }
            get { return _cvenperson; }
        }
        /// <summary>
        /// 供应商联系人电话
        /// </summary>
        public string cVenPersonMobile
        {
            set { _cvenpersonmobile = value; }
            get { return _cvenpersonmobile; }
        }
        /// <summary>
        /// 业务员
        /// </summary>
        public string cPerson
        {
            set { _cperson = value; }
            get { return _cperson; }
        }
        /// <summary>
        /// 业务员电话
        /// </summary>
        public string cPersonPhone
        {
            set { _cpersonphone = value; }
            get { return _cpersonphone; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string cMemo
        {
            set { _cmemo = value; }
            get { return _cmemo; }
        }
        /// <summary>
        /// 时间戳
        /// </summary>
        public byte[] ts
        {
            set { _ts = value; }
            get { return _ts; }
        }
        /// <summary>
        /// 录入人
        /// </summary>
        public string cMaker
        {
            set { _cmaker = value; }
            get { return _cmaker; }
        }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime? dDate
        {
            set { _ddate = value; }
            get { return _ddate; }
        }
        /// <summary>
        /// 修改人
        /// </summary>
        public string cModify
        {
            set { _cmodify = value; }
            get { return _cmodify; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? dMDate
        {
            set { _dmdate = value; }
            get { return _dmdate; }
        }
        /// <summary>
        /// 供应商停用日期
        /// </summary>
        public DateTime? dStopDate
        {
            set { _dstopdate = value; }
            get { return _dstopdate; }
        }
        #endregion Model

    }
}